package com.gift.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 
 * </p>
 *
 * @author gift
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="LpcProduct对象", description="")
public class LpcProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "礼品册对应礼品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "礼品册价格")
    private Integer price;

    @ApiModelProperty(value = "对应商品")
    private Integer prId;

    @TableField(exist = false)
    private LpcType lpcType;

    @TableField(exist = false)
    private GiProduct giProduct;


}
